package com.glut.gultguy.utils;

import java.util.Date;

public class DateUtils {
    public long getTimeStamp(Date date, int timestampType)
    {
        long times = date.getTime();
        if (timestampType == 1)
        {
            times = times/1000L;
        }
        return  times;
    }

}
